package com.jmp.api.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.util.Date;
import java.util.List;

/**
 * @author cjr
 */
@Data
@Builder
public class CompanySelectCompanyListResponse {
    private PageResponse2<Company> pageInfo;
    private List<Label> labelList;
    private List<Platform> platformList;


    @Data
    @Builder
    public static class Company {
        private Integer companyId;
        private String companyName;
        /**
         * 1 普通版 2 高级版
         */
        private Integer companyType;
        /**
         * 0 单企业 1 代理
         */
        private Integer isAgent;
        private Integer agentMoney;
        private Date createTime;
        private Integer companyLevel;

        /**
         * 企业员工数
         */
        private Integer allBusinessCardCount;
        /**
         * 客户人数
         */
        private Integer allCustomerCount;

        /**
         * 管理员
         */
        private String name;
        /**
         * 管理员电话
         */
        private String phone;
        /**
         * 微信号码
         */
        private String personalWx;

        private Date endTime;
        /**
         * 总名片数
         */
        private Integer currentNum;
        /**
         * 未用名片数
         */
        private Integer availableNum;

        //内容:1显示
        private Integer contentShow;
        /**
         * 企业标签
         */
        private List<String> labelNames;
        /**
         * 客户端类型：0 其他 1 经销 2 商家
         */
        private Integer type;

        @ApiModelProperty("3d vr")
        private String vrUrl;
    }

    @Data
    @Builder
    public static class Label {
        private Integer id;
        private String name;
    }

    @Data
    @Builder
    public static class Platform {
        private Integer id;
        private String name;
    }
}
